ALMaSS  1.0
The Animal, Landscape and Man Simulation System
Goose_Base.cpp File Reference

Goose_Base.h This is the c++ code file for the goose base class
More...

#include <iostream>
#include <fstream>
#include <list>
#include <vector>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/PopulationManager.h"
#include "../GooseManagement/GooseMemoryMap.h"
#include "../GooseManagement/Goose_Base.h"
#include "../BatchALMaSS/CurveClasses.h"
#include "../Hunters/Hunters_all.h"
#include "../GooseManagement/Goose_Population_Manager.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"

Variables

boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
 A random number generator (0-1) More...
 
boost::variate_generator< base_generator_type &, boost::uniform_int<> > g_rand_uni2
 A random number generator (0-9999) More...
 
MapErrorMsgg_msg
 This pointer provides access the to the internal ALMaSS error message system. More...
 
ALMaSS_MathFuncs g_AlmassMathFuncs
 This variable provides access the to the internal ALMaSS math functions. More...
 
CfgFloat cfg_goose_MinForageRateDecayRate
 The decay rate for the minimum forage rate. More...
 
CfgInt cfg_goose_AfterDarkTime
 The number of minutes that geese will be foraging after sunset. More...
 
CfgInt cfg_goose_RoostLeaveDistMean
 The mean for the normal distribution which determines roost leave time. More...
 
CfgInt cfg_goose_RoostLeaveDistSD
 The standard deviation for the normal distribution which determines roost leave time. More...
 
CfgInt cfg_goose_pf_springmigdatestart
 Input: Date for onset of spring migration. More...
 
CfgInt cfg_goose_pf_springmigdateend
 Input: Date for end of spring migration. More...
 
CfgFloat cfg_goose_BMRconstant1
 The cost of BMR per kg goose - constant 1. More...
 
CfgFloat cfg_goose_BMRconstant2
 The cost of BMR per kg goose - constant 2. More...
 
CfgFloat cfg_goose_daytime_BMR_multiplier
 To calculate daily energy budget. This is the multiple of BMR spent during daytime Default is based on Madsen 1985 ("Relations between change in spring habitat selection...") More...
 
CfgFloat cfg_goose_nighttime_BMR_multiplier
 To calculate daily energy budget. This is the multiple of BMR spent during nighttime. More...
 
CfgFloat cfg_goose_InitialEnergyReserveProportion
 The initial proportion of weight that can be stored as energy reserves. More...
 
CfgFloat cfg_goose_snow_scaler
 The decrease in intake rate resulting from snow. More...
 

Detailed Description

Goose_Base.h This is the c++ code file for the goose base class

by Chris J. Topping
Version of 8th February 2013

Variable Documentation

◆ cfg_goose_AfterDarkTime

CfgInt cfg_goose_AfterDarkTime
extern

The number of minutes that geese will be foraging after sunset.

Referenced by Goose_Base::st_ChooseForageLocation(), and Goose_Base::st_Forage().

◆ cfg_goose_BMRconstant1

CfgFloat cfg_goose_BMRconstant1
extern

The cost of BMR per kg goose - constant 1.

Referenced by Goose_Base::Init().

◆ cfg_goose_BMRconstant2

CfgFloat cfg_goose_BMRconstant2
extern

The cost of BMR per kg goose - constant 2.

Referenced by Goose_Base::Init().

◆ cfg_goose_daytime_BMR_multiplier

CfgFloat cfg_goose_daytime_BMR_multiplier
extern

To calculate daily energy budget. This is the multiple of BMR spent during daytime Default is based on Madsen 1985 ("Relations between change in spring habitat selection...")

Referenced by Goose_Base::StartDay().

◆ cfg_goose_InitialEnergyReserveProportion

CfgFloat cfg_goose_InitialEnergyReserveProportion
extern

The initial proportion of weight that can be stored as energy reserves.

Referenced by Goose_Base::Init().

◆ cfg_goose_MinForageRateDecayRate

CfgFloat cfg_goose_MinForageRateDecayRate
extern

The decay rate for the minimum forage rate.

Referenced by Goose_Base::st_Forage().

◆ cfg_goose_nighttime_BMR_multiplier

CfgFloat cfg_goose_nighttime_BMR_multiplier
extern

To calculate daily energy budget. This is the multiple of BMR spent during nighttime.

Referenced by Goose_Base::StartDay().

◆ cfg_goose_pf_springmigdateend

CfgInt cfg_goose_pf_springmigdateend
extern

Input: Date for end of spring migration.

Referenced by Goose_Base::Init().

◆ cfg_goose_pf_springmigdatestart

CfgInt cfg_goose_pf_springmigdatestart
extern

Input: Date for onset of spring migration.

Referenced by Goose_Base::Init().

◆ cfg_goose_RoostLeaveDistMean

CfgInt cfg_goose_RoostLeaveDistMean
extern

The mean for the normal distribution which determines roost leave time.

◆ cfg_goose_RoostLeaveDistSD

CfgInt cfg_goose_RoostLeaveDistSD
extern

The standard deviation for the normal distribution which determines roost leave time.

◆ cfg_goose_snow_scaler

CfgFloat cfg_goose_snow_scaler
extern

The decrease in intake rate resulting from snow.

Referenced by Goose_Base::AdjustIntakeRateToSnowDepth().

◆ g_AlmassMathFuncs

ALMaSS_MathFuncs g_AlmassMathFuncs
extern

This variable provides access the to the internal ALMaSS math functions.

Referenced by Goose_Base::EvaluateForageToHopLoc(), Goose_Base::FlyTo(), Goose_Base::On_Bang(), and Goose_Base::st_ChooseForageLocation().

◆ g_msg

MapErrorMsg* g_msg
extern

This pointer provides access the to the internal ALMaSS error message system.

Referenced by Goose_Base::st_ChooseForageLocation(), and Goose_Base::st_Forage().

◆ g_rand_uni

boost::variate_generator<base_generator_type&, boost::uniform_real<> > g_rand_uni
extern

A random number generator (0-1)

◆ g_rand_uni2

boost::variate_generator<base_generator_type&, boost::uniform_int<> > g_rand_uni2
extern

A random number generator (0-9999)

Referenced by Goose_Base::st_ChooseForageLocation().